let Mock = require("mockjs")
// let data=Mock.mock({
//     'list|10':[{
//         img:"@image(100x100,@color())",
//         tit:"排名中心",
//         tiem:"2020-10-07 7:53"
//     }]
// })
let data = require('./data.json')
Mock.mock('/list', data)
Mock.mock('/data', () => {
    data.push(data[0])
    return data
})